package com.atguigu.gmall.cart.fallback;

import com.atguigu.gmall.cart.client.CartFeignClient;
import com.atguigu.gmall.common.result.Result;
import com.atguigu.gmall.model.cart.CartInfo;
import org.springframework.stereotype.Component;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

/**
 * @Description:
 * @author: JC
 * @date: 2021/11/8 18:30
 */

@Component
public class CartFeignClientFallBack implements CartFeignClient {

    @Override
    public Result addToCart(Long skuId, Integer skuNum) {
        return null;
    }

    @Override
    public List<CartInfo> getCartCheckedList(String userId) {
        return null;
    }

    @Override
    public void loadCartCache(String userId) {
        return;
    }

}
